#include <QApplication>
#include <QDebug>

#include "mainwindow.h"

int main(int c, char**v) {
    QApplication app(c, v);

    if (QCoreApplication::arguments().size() != 6) {
        qCritical() << "Please provide following arguments: read time(ms), write time(ms), shelf size, readers count, writers count.";
        return 1;
    }

    MainWindow mw;

    return app.exec();
}
